package com.yuju.vo.login;



import java.io.Serializable;
import java.util.Date;

import com.yuju.common.BaseVO;
import com.yuju.common.fileld.validator.Rule.NonNull;

/**
 * 
 * 类名：OpVO <br />
 *
 * 功能：
 *
 * @author : zhousc <br />
 * @Date : 2017年12月4日 上午10:14:39 <br />
 * @version : 1.1 <br />
 */
public class OpVO extends BaseVO implements Serializable {
	// 当前页码
	@NonNull(message = "页数不能为空", serviceLine = "pager")
	private Integer page;
	// 每页显示记录数
	@NonNull(message = "每页显示行数不能为空", serviceLine = "pager")
	private Integer pageSize;
	/**
	 * 主键。存储UUID，由应用生成。,所属表字段为sys_op.id
	 */
	@NonNull(message = "ID不能为空", serviceLine = "update,del,get")
	private String id;

	/**
	 * ,所属表字段为sys_op.password
	 */
	@NonNull(message = "密码不能为空", serviceLine = "update,save")
	private String password;
	 /**
     * 确认密码
     */
    private String confirmPassword;
	/**
	 * ,所属表字段为sys_op.salt
	 */
	private String salt;

	/**
	 * ,所属表字段为sys_op.emp_id
	 */
	@NonNull(message = "所属员工Id不能为空", serviceLine = "update,save")
	private String empId;

	/**
	 * ,所属表字段为sys_op.status
	 */
	private Byte status;
	/**
	 * 用户类型：1PMS用户，2业主端用户，3微信端用户,所属表字段为sys_op.user_type
	 */
	private Byte userType;
	/**
	 * 微信ID,所属表字段为sys_op.open_id
	 */
	private String openId;

	/**
	 * 微信昵称,所属表字段为sys_op.wx_name
	 */
	private String wxName;
	/**
	 * 员工ID。外键，引用用户类型对应的表中的主键（id）。,所属表字段为sys_op.user_id
	 */
	private String userId;
	/**
	 * ,所属表字段为sys_op.gmt_delete
	 */
	private Date gmtDelete;

	/**
	 * 创建时间。,所属表字段为sys_op.gmt_create
	 */
	private Date gmtCreate;

	/**
	 * 修改时间。,所属表字段为sys_op.gmt_modified
	 */
	private Date gmtModified;

	/**
	 * ,所属表字段为sys_op.role_id
	 */
	private String roleId;

	/**
	 * 是否逻辑删除。1表示已逻辑删除，2表示未逻辑删除，默认为2。,所属表字段为sys_op.is_deleted
	 */
	private Byte isDeleted;

	/**
	 * 名称。,所属表字段为sys_op.name
	 */
	@NonNull(message = "账号不能为空", serviceLine = "update,save")
	private String name;

	/**
	 * 所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为sys_op.group_id
	 */
	@NonNull(message = "集团ID不能为空", serviceLine = "update,save")
	private String groupId;
	// ------新增属性-------------------------
	/**
	 * 分店数据范围
	 */
	private String[] hotelIds;
	/**
	 * 修改密码，新密码
	 */
	private String newPassword;
	/**
	 * 分店查询
	 */
	private String hotelId;
	/**
	 * 员工名模糊查询
	 */
	private String myLike_employeeName;
	/**
	 * 验证码
	 */
	private String verificationCode;
	/**
	 * 手机号
	 */
	private String mobile;
	/**
	 * 微信code
	 */
	private String code;
	
	/**
	 * 集团编号，微信注册时 根据集团编号查询出集团ID
	 */
	private String grpCode;
	
	private static final long serialVersionUID = 1L;

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getConfirmPassword() {
		return confirmPassword;
	}

	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getEmpId() {
		return empId;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}

	public Byte getStatus() {
		return status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	public Byte getUserType() {
		return userType;
	}

	public void setUserType(Byte userType) {
		this.userType = userType;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getWxName() {
		return wxName;
	}

	public void setWxName(String wxName) {
		this.wxName = wxName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Date getGmtDelete() {
		return gmtDelete;
	}

	public void setGmtDelete(Date gmtDelete) {
		this.gmtDelete = gmtDelete;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public Byte getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Byte isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String[] getHotelIds() {
		return hotelIds;
	}

	public void setHotelIds(String[] hotelIds) {
		this.hotelIds = hotelIds;
	}

	public String getNewPassword() {
		return newPassword;
	}

	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}

	public String getHotelId() {
		return hotelId;
	}

	public void setHotelId(String hotelId) {
		this.hotelId = hotelId;
	}

	public String getMyLike_employeeName() {
		return myLike_employeeName;
	}

	public void setMyLike_employeeName(String myLike_employeeName) {
		this.myLike_employeeName = myLike_employeeName;
	}

	public String getVerificationCode() {
		return verificationCode;
	}

	public void setVerificationCode(String verificationCode) {
		this.verificationCode = verificationCode;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public OpVO(Integer page, Integer pageSize, String id, String password, String confirmPassword, String salt,
			String empId, Byte status, Byte userType, String openId, String wxName, String userId, Date gmtDelete,
			Date gmtCreate, Date gmtModified, String roleId, Byte isDeleted, String name, String groupId,
			String[] hotelIds, String newPassword, String hotelId, String myLike_employeeName, String verificationCode,
			String mobile, String code) {
		super();
		this.page = page;
		this.pageSize = pageSize;
		this.id = id;
		this.password = password;
		this.confirmPassword = confirmPassword;
		this.salt = salt;
		this.empId = empId;
		this.status = status;
		this.userType = userType;
		this.openId = openId;
		this.wxName = wxName;
		this.userId = userId;
		this.gmtDelete = gmtDelete;
		this.gmtCreate = gmtCreate;
		this.gmtModified = gmtModified;
		this.roleId = roleId;
		this.isDeleted = isDeleted;
		this.name = name;
		this.groupId = groupId;
		this.hotelIds = hotelIds;
		this.newPassword = newPassword;
		this.hotelId = hotelId;
		this.myLike_employeeName = myLike_employeeName;
		this.verificationCode = verificationCode;
		this.mobile = mobile;
		this.code = code;
	}

	public OpVO() {
		super();
		// TODO Auto-generated constructor stub
	}

	public String getGrpCode() {
		return grpCode;
	}

	public void setGrpCode(String grpCode) {
		this.grpCode = grpCode;
	}
	
	
}